<template>
<div>
    userId：{{userId}}
</div>
</template>

<script>
    export default {
        name: '',
        data (){
            return {
                userId:this.$route.params.userId
            }
        },
        created:function () {
            console.log(this.$route.params.userId);
        }
    }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>

</style>
